package com.mall.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 运费
 *
 * @author ASUS
 * @date 2021/07/18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TbFreight implements Serializable {
    /**
     * 主键
     */
    private Long id;
    /**
     * 模板名称
     */
    private String name;
    /**
     * 邮寄方式(1,包邮  2,按重量收费)
     */
    private String way;
    /**
     * 配送地点范围
     */
    private Integer addrId;
    /**
     * (包邮)金额范围
     */
    private BigDecimal price;
    /**
     * (包邮)重量范围
     */
    private Double weight;
    /**
     * 超出计费
     */
    private BigDecimal needPrice;
    /**
     * 首件重量(计费标准)
     */
    private Double oneWeight;
    /**
     * 续件重量
     */
    private Double continueWeight;
    /**
     * 运费
     */
    private BigDecimal freightPrice;
    /**
     * 续费
     */
    private BigDecimal continuePrice;
    /**
     * 预留字段
     */
    private String reserved;

}